<template>
  <div class="container">
    <p>Home</p>
    <p><strong>Routes</strong></p>
    <ul>
      <li v-for="(route, index) in routes" :key="index">
        <router-link :to="route.path">{{route.path}}</router-link>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  data () {
    return {
      routes: []
    }
  },
  mounted () {
    this.routes = this.$router.options.routes
  }
}
</script>
